/*
* Copyright 2010 Competentum group
*
* Licensed under the GNU General Public License, Version 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.gnu.org/licenses/gpl.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.competentum.events
{
	/**
	 * WorkloadEvent reasons
	 * */
	public class EventReasons
	{
		/**
		 * View must be refreshed
		 * */
		public static const REFRESH:String = 'refreshReason';
		
		/**
		 * Item adding
		 * */
		public static const ADD:String = 'addReason';
		
		/**
		 * Item removing
		 * */
		public static const REMOVE:String = 'removeReason';
		
		/**
		 * Item updating
		 * */
		public static const UPDATE:String = 'updateReason';
		
		/**
		 * Moving employee or project to another group or moving bind to another project
		 * */
		public static const MOVE:String = 'moveReason';
		
		/**
		 * Creating new window
		 * */
		public static const NEW_WINDOW:String = 'newWindow';
		
		/**
		 * Reset renderers
		 * */
		public static const INVALIDATE_RENDERERS:String = 'invalidateRenderers';
		
		public static const LOAD_FILE:String = 'loadFileReason';
		public static const UNDO:String = 'undoReason';
		public static const REDO:String = 'redoReason';
		public static const SHOW_PREFERENCES:String = 'showPreferences';
	}
}